import { createRouter, createWebHashHistory } from 'vue-router'

/*
修改名字为公开路由表
*/ 
const publicRoutes = [
    { 
        path: '/login', 
        component: ()=> import('../views/login/index') 
    } 
]

const router = createRouter(
    { 
        history: createWebHashHistory(), 
        routes: publicRoutes 
    })
export default router